home *** CD-ROM | disk | FTP | other *** search
/ Aminet 21 / Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso / Aminet / comm / bbs / trionbbs100.lha / Trion / scripts / MayPoll < prev    next >
AmigaDOS Script File  |  1997-05-11  |  640b  |  35 lines

  1. .key node
  2. .def node=14:103/2
  3.  
  4.  
  5. ;;; Script to poll your host/hub and disconnect the user if online.
  6. ;;; (Only poll when there is mail for the other system)
  7.  
  8.  
  9. ;;; Exit if there is no mail for <node> in trion:outbound/
  10.  
  11. CheckIfMail  <node>
  12.  
  13. trion -m -1 "You will be disconnected in 2 minutes for a mail call."
  14.  
  15. wait 60
  16.  
  17. trion -m -1 "You will be disconnected in a minute for a mail call."
  18.  
  19. wait 60
  20.  
  21. trion -m -1 "You are disconnected for a mail call."
  22. trion -l -1
  23.  
  24. wait 10
  25.  
  26. ;;;   trion -c -1 <node>          ;call  1x
  27. ;;;   caller <node>              ;call 10x
  28.  
  29.  
  30. caller <node> -N5 -D180          ;4 tries, 3 minutes delay, node 1
  31.  
  32.  
  33. lastcallers
  34.  
  35.